package com.ibeeking.found.org.service.common.param;

import com.ibeeking.nematos.utils.base.BaseValidationGroup;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ClassName MemberInfoFieldDataItemParam
 * @Description 会员资料数据选项
 * @Author ibeeking
 * @Date 2022-01-24 11:39
 **/
@Data
public class EmployeeFieldOptionsItemParam implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 数据选项值
     */
    @NotBlank(message = "数据选项值不能为空!", groups = {BaseValidationGroup.Update.class, BaseValidationGroup.Insert.class})
    private String optionsValue;

    /**
     * 数据选项描述
     */
    @NotBlank(message = "数据选项描述不能为空!", groups = {BaseValidationGroup.Update.class, BaseValidationGroup.Insert.class})
    private String optionsMsg;

    /**
     * 是否默认选择
     */
    @NotNull(message = "字段是否默认选择不能为空!", groups = {BaseValidationGroup.Update.class, BaseValidationGroup.Insert.class})
    private Boolean checked;
}
